package sw.service;

import java.util.List;
import java.util.Map;

import sw.model.MResult;
import sw.model.MRiskLevel;

public interface IRiskCalculate {
	
	/**
	 * 保存风险等级
	 * @param level
	 * @return
	 */
	public Integer saveRiskLevel(MRiskLevel level);
	
	/**
	 * 风险值计算
	 * @param projectId 项目编号
	 * @return
	 */
	public Map<String, List<MResult>> calculate(Integer projectId,Float acceptStandard);
	
	/**
	 * 显示风险计算结果
	 * @param projectId
	 * @return
	 */
	public Map<String, List<MResult>> showResult(Integer projectId);

	/**
	 * 通过项目Id导出Word
	 * @param projectId
	 * @return
	 * @throws Exception 
	 */
	public String exportWord(Integer projectId, String path,String img1,String img2) throws Exception;

	
}
